package com.jianshuge.app.bean;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

import com.jianshuge.app.AppException;
import com.jianshuge.app.bean.Comment.Refer;
import com.jianshuge.app.bean.Comment.Reply;
import com.jianshuge.app.common.StringUtils;

public class CommentList extends Entity{

	public final static int CATALOG_NEWS = 1;
	public final static int CATALOG_POST = 2;
	public final static int CATALOG_TWEET = 3;
	public final static int CATALOG_ACTIVE = 4;
	public final static int CATALOG_MESSAGE = 4;//动态与留言都属于消息中心
	
	private int pageSize;
	private int allCount;
	private List<Comment> commentlist = new ArrayList<Comment>();
	
	public int getPageSize() {
		return pageSize;
	}
	public int getAllCount() {
		return allCount;
	}
	public List<Comment> getCommentlist() {
		return commentlist;
	}

	public static CommentList parse(InputStream inputStream) throws IOException, AppException {
		CommentList commlist = new CommentList();
		Comment comm = null;
		Reply reply = null;
		Refer refer = null;
        return commlist;       
	}
}
